package com.itcast.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author: lei
 * @version: V1.0
 * @date: 2019/11/30 20:39
 * @description: com.itheima.mapper
 */
public interface ReportMapper {

    /**
     * 根据性别查询
     * @return
     */
    List<Map> getSexAndCount();

    /**
     * 根据年龄查询
     * @return
     */
    List<Map> getAgeAndCount();

    /**
     * 根据日历控件查询
     * @param month
     * @return
     */
    Integer findMemberCountBeforeDate(@Param("month") String month);
}
